From: Tobias Frost Date: Tue, 6 Jan 2026 12:16:13 +0000 (+0100) Subject: Do not use a server-based search engine for the doxygen documentation. X-Git-Tag: archive/raspbian/7.9.2+dfsg-3+rpi1^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d0e800a05db965ac970c3d84ee5002c582fee357;p=opencascade.git Do not use a server-based search engine for the doxygen documentation. Bug-Debian: https://bugs.debian.org/914498 Forwarded: not-needed, Debian specific Last-Update: 2025-10-12 As this would require a webserver with php enabled. Last-Update: 2025-10-12 Gbp-Pq: Name do-not-use-doxygen-searchengine.patch --- diff --git a/dox/CMakeLists.txt b/dox/CMakeLists.txt index acd33c8ca..59595d7fe 100644 --- a/dox/CMakeLists.txt +++ b/dox/CMakeLists.txt @@ -53,7 +53,7 @@ foreach (OCCT_ARTICLE ${OCCT_ARTICLES}) get_filename_component (OCCT_ARTICLE_ABSOLUTE_PATH "${OCCT_OVERVIEW_DIR}/${OCCT_ARTICLE}" ABSOLUTE) get_filename_component (OCCT_ARTICLE_PARENT_DIR "${OCCT_ARTICLE_ABSOLUTE_PATH}" PATH) - if (EXISTS "${OCCT_ARTICLE_PARENT_DIR}/images") + if (EXISTS "${OCCT_ARTICLE_PARENT_DIR}/images" AND NOT "${OCCT_ARTICLE_PARAM_IMAGEPATH}" MATCHES ".*${OCCT_ARTICLE_PARENT_DIR}/images.*") set (OCCT_ARTICLE_PARAM_IMAGEPATH "${OCCT_ARTICLE_PARAM_IMAGEPATH} ${OCCT_ARTICLE_PARENT_DIR}/images") endif() @@ -84,7 +84,7 @@ file (APPEND ${OCCT_CONFIG_FOR_DOXYGEN} "\nGENERATE_TREEVIEW = YES") # HTML Search engine options file (APPEND ${OCCT_CONFIG_FOR_DOXYGEN} "\nSEARCHENGINE = YES") -file (APPEND ${OCCT_CONFIG_FOR_DOXYGEN} "\nSERVER_BASED_SEARCH = YES") +file (APPEND ${OCCT_CONFIG_FOR_DOXYGEN} "\nSERVER_BASED_SEARCH = NO") file (APPEND ${OCCT_CONFIG_FOR_DOXYGEN} "\nEXTERNAL_SEARCH = NO") # Formula options diff --git a/dox/resources/occt_ug_html.doxyfile b/dox/resources/occt_ug_html.doxyfile index 2c8de26b9..1552c8a2a 100644 --- a/dox/resources/occt_ug_html.doxyfile +++ b/dox/resources/occt_ug_html.doxyfile @@ -4,7 +4,7 @@ PROJECT_BRIEF = CREATE_SUBDIRS = NO OUTPUT_LANGUAGE = English ABBREVIATE_BRIEF = -FULL_PATH_NAMES = YES +FULL_PATH_NAMES = NO INHERIT_DOCS = YES TAB_SIZE = 4 MARKDOWN_SUPPORT = YES